package com.biodiv.miracle.ioc;


import com.biodiv.miracle.ioc.factory.FactoryBean;

/**
 * @Author: tianquan
 * @date: 2024-09-28  22:03
 * @Description: bean定义
 */
public class BeanDefinition {

    private String beanName;

    private Class<?> aClass;

    private String scope;

    private FactoryBean<?> factoryBean;

    public BeanDefinition() {
    }

    public BeanDefinition(String beanName, Class<?> aClass, String scope) {
        this.beanName = beanName;
        this.aClass = aClass;
        this.scope = scope;
    }

    public String getBeanName() {
        return beanName;
    }

    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }

    public Class<?> getaClass() {
        return aClass;
    }

    public void setClass(Class<?> aClass) {
        this.aClass = aClass;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public void setaClass(Class<?> aClass) {
        this.aClass = aClass;
    }

    public FactoryBean<?> getFactoryBean() {
        return factoryBean;
    }

    public void setFactoryBean(FactoryBean<?> factoryBean) {
        this.factoryBean = factoryBean;
    }

}
